package com.chenxin.wms.domain.dto;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
public class ManualAllotRequestDTO implements Serializable {
    private static final long serialVersionUID = 1L;
    private Long obDetailId;
    private List<StockInfo> stocks;

    public static class StockInfo {
        private Long stockId;
        private BigDecimal allotQty;

        public StockInfo() {
        }

        public Long getStockId() {
            return stockId;
        }

        public void setStockId(Long stockId) {
            this.stockId = stockId;
        }

        public BigDecimal getAllotQty() {
            return allotQty;
        }

        public void setAllotQty(BigDecimal allotQty) {
            this.allotQty = allotQty;
        }
    }
}
